<div ms-controller="addLunbo" class="addLunbo">
	<div class="editPic clearfix">
		<h2 class="title" ms-if="title_tag"><a href="#!/lunBo/lunBo">首页轮播</a>添加轮播</h2>
		<h2 class="title" ms-if="!title_tag"><a href="#!/lunBo/lunBo">首页轮播</a>编辑轮播</h2>
		<div class="titleNext">
			<h1>轮播名称：</h1>
			<input type="text" placeholder="请输入轮播名称"  ms-duplex="title"/>
			<p>
				! 不超过30字符
			</p>
		</div>
		<div class="titleCenter">
			<h1>轮播页码：</h1>
			<select class="selectSize" ms-duplex="paganation">
				<option value="">选择页码</option>
				<option></option>
			</select>
		</div>
		<div class="titleCenter">
			<h1>轮播图片：</h1>
			<div class="pic">
				<img src="modules/addLunbo/img/pic.png">
				<button>上传图片</button>
			</div>
		</div>
		<div class="link">
			<h1>选择连接：</h1>
			<div class="copySelect" ms-click="openList"> 
				选择指向链接
			</div>
			<div class="linkCon">
				<div class="linkHead">
					<ul>
						<li ms-click="toggle(0,1)" ms-class="{{targetType == 1? 'current':''}}" ms-click='getArticleList'>咨讯</li>
						<li ms-click="toggle(1,2)" ms-class="{{targetType == 2? 'current':''}}" ms-click='DoctorList'>专家</li>
						<li ms-click="toggle(2,3)" ms-class="{{targetType == 3? 'current':''}}" ms-click='DeviceList'>设备</li>
					</ul>
					<input type="text" class="input" placeholder="请输入搜索内容"/>
					<button class="btn1">搜索</button>
				</div>
				<table class="table ms-tabs" ms-if="targetType == 1">
					<thead>
						<tr>
							<th>ID</th>
							<th>咨讯名称</th>
							<th>&nbsp;</th>
						</tr>
					</thead>
					<tbody>
						<tr ms-repeat="articleList">
							<td>{{el.id}}</td>
							<td>{{el.title}}</td>
							<td><input type="radio" name="articleId" ms-duplex-string="articleId" ms-value="el.id"/></td>
						</tr>
					</tbody>
				</table>
				<table class="table table-striped  ms-tabs" ms-if="targetType == 2">
					<thead>
						<tr>
							<th>ID</th>
							<th>专家名称</th>
							<th>&nbsp;</th>
						</tr>
					</thead>
					<tbody>
						<tr ms-repeat="doctorList">
							<td>{{el.id}}</td>
							<td>{{el.name}}</td>
							<td><input type="radio"  name="articleId" ms-duplex-string="articleId" ms-value="el.id"/></td>
						</tr>
					</tbody>
				</table>
				<table class="table table-striped  ms-tabs" ms-if="targetType == 3">
					<thead>
						<tr>
							<th>ID</th>
							<th>设备名称</th>
							<th>&nbsp;</th>
						</tr>
					</thead>
					<tbody>
						<tr ms-repeat="deviceList">
							<td>{{el.id}}</td>
							<td>{{el.name}}</td>
							<td><input type="radio"  name="articleId" ms-duplex-string="articleId" ms-value="el.id"/></td>
						</tr>
					</tbody>
				</table>
			</div>
		</div>
		<div class="titleBtn">
			<button class="btnAdd" ms-click="saveOrUpdate">
				发布
			</button>
			<button ms-click="backList">
				取消
			</button>
		</div>
	</div>
</div>